package com.gan.service.impl;

import com.gan.entity.Person;
import com.gan.mapper.PersonMapper;
import com.gan.service.PService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @Author 嘉宾
 * @Data 2022/3/21 14:57
 * @Version 1.0
 */
@Service
public class PersonServiceImpl implements PService {
 
    @Autowired
    private PersonMapper personMapper;
 
    @Override
    public List<Person> findAll() {
        return personMapper.findAll();
    }
}